import java.io.File;
import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86186
 * Date: 2023-10-03
 * Time: 22:28
 */
public class Test {
    public static void main(String[] args) throws IOException {
        File file = new File("d:/test.txt");
        System.out.println(file.isFile());
        System.out.println(file.getAbsolutePath());

        boolean ret = file.createNewFile();
        System.out.println(file.isFile());
        System.out.println(file.getAbsolutePath());
    }
}
